home *** CD-ROM | disk | FTP | other *** search
- Path: news.ox.ac.uk!news
- From: imc@ecs.ox.ac.uk (Ian Collier)
- Newsgroups: comp.lang.rexx
- Subject: Re: Q: Cross platform rexx help needed.
- Date: 18 Apr 1996 13:02:25 GMT
- Organization: Oxford University Computing Laboratory
- Distribution: inet
- Message-ID: <8207.imc@comlab.ox.ac.uk>
- References: <4if6i3$kr2@news2.nkn.net> <4ijjck$aka@sun.sirius.com> <DoqC9G.7KG@stortek.com>
- NNTP-Posting-Host: boothp2.ecs.ox.ac.uk
- X-Local-Date: Thursday, 18th April 1996 at 2:02pm BST
-
- In article <DoqC9G.7KG@stortek.com>, pg@sanitas.stortek.com (Paul Gilmartin)
- wrote:
- >: /*bin/true
- >: eval 'exec /usr/local/bin/rexx $0 $@';
- >: Rexx comments can start here...
-
- >But why not avoid an extra fork and executable load:
-
- > /*usr/local/bin/rexx "$0" "$@"; exit $? # REXX
- > Rexx comments can start here...
-
- Possibly to avoid having the shell process hang around until the program
- finishes. You only save one exec and no forks since the other one did not
- fork the Rexx interpreter. It probably doesn't make much difference either
- way.
-
- Ian Collier - imc@comlab.ox.ac.uk - WWW Home Page (including REXX section):
- http://www.comlab.ox.ac.uk/oucl/users/ian.collier/index.html
-